﻿<%@ Page Title="JohnnySins :: JOHNNY'S FRIENDS" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="PornStars.aspx.cs" Inherits="JohnnySins.PornStars" %>
<%@ Register assembly="DataPagerRepeater" namespace="DataPagerRepeater" tagprefix="custom" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <script type="text/javascript" src="<%=ResolveClientUrl("~") %>jwplayer/jwplayer.js"></script>
    <script type="text/javascript">jwplayer.key = '<%=jwplayerKey%>';</script>
    <script type="text/javascript" src="<%=ResolveClientUrl("~") %>Scripts/radiolink.js"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <form id="Form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server" EnableScriptGlobalization="true" EnablePartialRendering="true" EnablePageMethods="true" AsyncPostBackTimeout="14000" EnableScriptLocalization="true" ScriptMode="Release" />
    <div class="container">
        <div class="page_content">
            <div class="page_title">
                <h1>Porn Stars</h1>
            </div>

            <asp:UpdatePanel ID="upSearch" runat="server" UpdateMode="Conditional">
            <ContentTemplate>
            <!--start porn stars panel-->
            <div class="row">
			    <div class="col-lg-12">
                    
                    	<!--start search panel-->
                        <div class="search_panel">                        	
                            <!--start search by-->
                            <div class="search_block">
                            	<h5><img src="<%=ResolveClientUrl("~") %>images/web/search_by_icon.png" alt=""/> Sort By</h5>
                                <div class="search_options">
                                	<ul>
                                        <li><asp:RadioButton runat="server" ID="rbSortRecentActivity" Text="Recent Activity" CssClass="radio_link_button" GroupName="SortFilter" /></li>
                                        <li><asp:RadioButton runat="server" ID="rbSortPopularity" Text="Popularity" CssClass="radio_link_button" GroupName="SortFilter" /></li>
                                    	<li><asp:RadioButton runat="server" ID="rbSortMostFollowed" Text="Most Followed" CssClass="radio_link_button" GroupName="SortFilter" /></li>
                                        <li><asp:RadioButton runat="server" ID="rbSortNumberScenes" Text="Number of Scenes" CssClass="radio_link_button" GroupName="SortFilter" /></li>
                                        <li><asp:RadioButton runat="server" ID="rbSortName" Text="Name" CssClass="radio_link_button" GroupName="SortFilter" Checked="true" /></li>
                                    </ul>
                                </div>
                            </div>
                            <!--end search by-->
                            
                            <!--start rank filter-->
                            <div class="search_block">
                            	<h5><img src="<%=ResolveClientUrl("~") %>images/web/rank_filter_icon.png" alt=""/> Rank Filter</h5>
                                <div class="search_options">
                                	<ul>
                                        <li><asp:RadioButton runat="server" ID="rbRankAll" Text="All Pornstars" CssClass="radio_link_button" GroupName="RankFilter" /></li>
                                    	<li><asp:RadioButton runat="server" ID="rbRankAllStar" Text="Allstar Pornstars" CssClass="radio_link_button" GroupName="RankFilter" /></li>
                                        <li><asp:RadioButton runat="server" ID="rbRankNew" Text="New Pornstars" CssClass="radio_link_button" GroupName="RankFilter" Checked="true" /></li>
                                        <li><asp:RadioButton runat="server" ID="rbRankLegacy" Text="Legacy Pornstars" CssClass="radio_link_button" GroupName="RankFilter" /></li>
                                        <li><asp:RadioButton runat="server" ID="rbRankRookie" Text="Rookie Pornstars" CssClass="radio_link_button" GroupName="RankFilter" /></li>
                                    </ul>
                                </div>
                            </div>
                            <!--end rank filter-->
                            
                            <!--start search by-->
                            <div class="search_block">
                            	<h5><img src="<%=ResolveClientUrl("~") %>images/web/gender_icon.png" alt=""/> Gender</h5>
                                <div class="search_options">
                                	<ul>
                                    	<li><asp:RadioButton runat="server" ID="rbGenderFemale" Text="Girls Only" CssClass="radio_link_button" GroupName="GenderFilter" /></li>
                                        <li><asp:RadioButton runat="server" ID="rbGenderMale" Text="Guys Only" CssClass="radio_link_button" GroupName="GenderFilter" /></li>
                                        <li><asp:RadioButton runat="server" ID="rbGenderAll" Text="Girls &amp; Guys" CssClass="radio_link_button" GroupName="GenderFilter" Checked="true" /></li>
                                    </ul>
                                </div>
                            </div>
                            <!--end search by-->
                            
                            <!--start search by-->
                            <div class="search_block">
                            	<h5><img src="<%=ResolveClientUrl("~") %>images/web/tag_filter_icon.png" alt=""/> Tag Filter</h5>
                                
                                <div class="search_options">
                                	<input type="text" placeholder="Filter by Keyword" id="inputname" class="form-control search_tag_filter">
                                </div>
                            </div>
                            <!--end search by-->
                            
                            <!--start search by-->
                            <div class="search_block">
                            	<h5><img src="<%=ResolveClientUrl("~") %>images/web/az_icon.png" alt=""/> Filter By Letter</h5>
                                <div class="search_options filter_by_letter" id="filter_by_letter">
                                	<ul>
                                        <asp:Repeater runat="server" ID="dlAlphabets">
                                        <ItemTemplate>
                                            <li>
                                                <asp:RadioButton runat="server" ID="rbLetter" Text='<%#Eval("Value")%>' Checked='<%#Eval("Selected")%>' CssClass="radio_link_letter" />
                                            </li>
                                        </ItemTemplate>
                                        </asp:Repeater>
                                    </ul>
                                </div>
                            </div>
                            <!--end search by-->
                        
                        </div>
                        <!--end search panel-->
                        <div class="clearfix"></div>
                        
                    </div>
            </div>
            <!--end porn stars panel-->
                
            <div class="scenes_infomation">
                <div class="scenes_infomation_container">
                        <h2 class="pornstar_title">Pornstars
                            <asp:Label runat="server" CssClass="btn btn-primary" ID="lblCount"/>
                        </h2>
                        <div class="scenes_info_link">
                            <asp:LinkButton runat="server" ID="btnApplyFilter" CssClass="btn btn-default reset_btn" Text="Apply Filter" OnClick="btnApplyFilter_Click" />
                            <asp:LinkButton runat="server" ID="btnClearFilter" CssClass="btn btn-default reset_btn" Text="Clear Filter" OnClick="btnClearFilter_Click" />
                        </div>
                    </div>                	
            </div>
                
            <div class="video_thumb_display">
                <div class="row">
                    
                    	<!--start porn stars panel-->
                		<div class="col-lg-9">
                        	<div class="row">
                                <custom:DataPagerRepeater runat="server" ID="rptScene" OnItemDataBound="rptScene_ItemDataBound">
                                <ItemTemplate>
                                    <div class="col-sm-4 col-md-4 col-lg-4 jonny_thumb_features">
                                        <div class="scenes_info_link" style="width:100%;">
                                            <a href="StarProfile.aspx?pid=<%# Eval("StarProfileId")%>"><%# Eval("FullName")%></a>
                                        </div>
                                        <br /><br />
                                        <div class="video_fream">
                                            <div id="div_video_<%# Eval("StarProfileSceneId")%>">
                                                <script type="text/javascript">
                                                    jwplayer('div_video_<%# Eval("StarProfileSceneId")%>').setup({
                                                        file: '<%=ResolveClientUrl("~") %>Files/StarProfile/<%# Eval("StarProfileId")%>/Scene/Preview/<%# Eval("PhysFileName")%>',
                                                        image: '<%=ResolveClientUrl("~") %>Files/StarProfile/<%# Eval("StarProfileId")%>/Scene/Poster/<%# Eval("PhysPoster")%>',
                                                        width: 220,
                                                        height: 248,
                                                        skin: "glow",
                                                        title: '<%# Eval("StarProfileSceneTitle")%>'
                                                    });
                                                    jwplayer('div_video_<%# Eval("StarProfileSceneId")%>').onPlay(function (event) { $('#div_desc_<%# Eval("StarProfileSceneId")%>').hide(); });
                                                </script>
                                            </div>
                                            <div class="video_short_description" id="div_desc_<%# Eval("StarProfileSceneId")%>"><p><%# Eval("StarProfileSceneTitle")%></p></div>
                                        </div>
                                        <br />
                                        <!--video quality like button-->
                                        <div class="video_quality_button">
                                            <div class="video_quality">
                                                <a href="#" class="tlib_quality">TLIB</a>
                                                <a href="#" class="hd_quality">HD</a>
                                            </div>
                                            <div class="like_dislike_btn">
                                                <a href="#" class="like_scenes"><img src="<%=ResolveClientUrl("~") %>images/web/like_icon.png" alt="like" title="Like"/> 958</a>
                                                <a href="#" class="dislike_scenes"><img src="<%=ResolveClientUrl("~") %>images/web/dislike_icon.png" alt="dislike" title="Dislike"/> 256</a>
                                            </div>
                                        </div>
                                        <div class="clearfix"></div>
                                        <!--end video quality like button-->                        
                                    </div>
                                </ItemTemplate>
                                </custom:DataPagerRepeater>
                            </div>
                            
                            <div class="pornstar_action">
                                <a class="btn btn-primary" href="#">See All 1100+ Pornstars in ACTION!</a>
                            </div>
                                                        
                            <div class="porn_stars_pagination">
                            <asp:DataPager ID="pager" PagedControlID="rptScene" PageSize="10" runat="server">
                            <Fields>
                                <asp:NextPreviousPagerField ButtonType="Button" ShowFirstPageButton="True" ShowNextPageButton="False" ShowPreviousPageButton="False" FirstPageText="«" ButtonCssClass="" />
                                <asp:NumericPagerField />
                                <asp:NextPreviousPagerField ButtonType="Button" ShowLastPageButton="True" ShowNextPageButton="False" ShowPreviousPageButton="False" LastPageText="»" />
                            </Fields>
                            </asp:DataPager>
                            </div>

                        </div>
                        <!--end porn stars panel-->
                        
                        <!--start advertiesment block-->
                        <div class="col-lg-3">
                        	<div class="advertiesment_block">                                                              
                            	<img class="img-responsive" src="<%=ResolveClientUrl("~") %>images/web/adverties_img/ad_img.jpg" alt="" title=""/>
                            </div>
                        
                        </div>
                        <!--end advertiesment block-->
                        
                	</div>
            </div>
            </ContentTemplate>
            </asp:UpdatePanel>
        </div>
    </div>
    </form>
    <script type="text/javascript">
        Sys.WebForms.PageRequestManager.getInstance().add_pageLoaded(function (evt, args) {
            $(".radio_link_button").find("input:checked").parent().addClass('radio_link_button_checked');
            $(".radio_link_letter").find("input:checked").parent().addClass('radio_link_letter_checked');
        });
    </script>
</asp:Content>
